package com.xiemingtian.navdemo

import androidx.navigation.NavOptions

object Util{
    val navOpt = NavOptions.Builder()
            .setEnterAnim(R.anim.slide_in_right)
            .setPopExitAnim(R.anim.slide_out_left)
            .build()

    val launchNavOpt = NavOptions.Builder()
            .setEnterAnim(R.anim.slide_in_right)
            .setPopExitAnim(R.anim.slide_out_left)
            .setClearTask(true)
            .build()
}
